<div id="logs" >
    <h3 class="section">Logs</h3>
    <div class="content">
        <?php $logs = DBU_Logger::instance()->getAll(); ?>
        <?php if (is_array($logs) && count($logs) > 0) { ?>
        <ul class="list">
            <?php foreach ($logs as $log) { ?>
                <li>
                    <span class="date"><?php echo date('h:i:s',$log['time']); ?></span>
                    <span class="text"><?php echo $log['message']; ?></span>
                </li>
            <?php } ?>
            </ul>
        <?php } else { ?>
            Nu exista loguri;
        <?php } ?>
</div>